gtkuimanager: clarify @pos of insert_action_group
authorDiego Escalante Urrelo <diegoe@igalia.com>
Sun, 12 Feb 2012 23:25:03 +0000 (18:25 -0500)
committerDavid King <amigadave@amigadave.com>
Mon, 20 Feb 2012 10:12:00 +0000 (10:12 +0000)
Mention that it is possible for it to be negative, or larger than the
current number of action groups.

https://bugzilla.gnome.org/show_bug.cgi?id=669947

gtk/gtkuimanager.c

index 1e644d29ef2bfd20e545aa5e84464dbbe05a7960..13e900b55a1502ef7a2ad58f92fa0ce472b16b89 100644 (file)
@@ -966,6 +966,10 @@ cb_proxy_post_activate (GtkActionGroup *group,
  * with @manager. Actions in earlier groups hide actions with the same 
  * name in later groups. 
  *
+ * If @pos is larger than the number of action groups in @manager, or
+ * negative, @action_group will be inserted at the end of the internal
+ * list.
+ *
  * Since: 2.4
  **/
 void